using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN IKhoaService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: IKhoaService</para>
	/// <para>Description: </para>
	///</summary>

	[ServiceContract]
	public partial interface IKhoaService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: Khoa_ID</para>
		/// <para>Output: KhoaEntity</para>
		///</summary>
		[OperationContract]
		KhoaEntity SelectOne(int Khoa_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOneByMaKhoa</para>
		/// <para>Input: MaKhoa</para>
		/// <para>Output: KhoaEntity</para>
		///</summary>
		[OperationContract]
		KhoaEntity SelectOneByMaKhoa(string MaKhoa);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of KhoaEntity</para>
		///</summary>
		[OperationContract]
		List<KhoaEntity> SelectAll();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDS();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of KhoaEntity</para>
		///</summary>
		[OperationContract]
		List<KhoaEntity> SelectAllFilter(string strFilter);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSFilter(string strFilter);
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: KhoaEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Save(KhoaEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveRet</para>
		/// <para>Input: KhoaEntity</para>
		/// <para>Output: return entity if succeeded else return null</para>
		///</summary>
		[OperationContract]
		KhoaEntity SaveRet(KhoaEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of KhoaEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void SaveList(List<KhoaEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of KhoaEntity</para>
		/// <para>Output: return list of entities if succeeded else return null list</para>
		///</summary>
		[OperationContract]
		List<KhoaEntity> SaveListRet(List<KhoaEntity> list);
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: KhoaEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Update(KhoaEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of KhoaEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void UpdateList(List<KhoaEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMaKhoa</para>
		/// <para>Input: NewMaKhoa,Khoa_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMaKhoa(string NewMaKhoa,int Khoa_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateTenKhoa</para>
		/// <para>Input: NewTenKhoa,Khoa_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateTenKhoa(string NewTenKhoa,int Khoa_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMoTaKhoa</para>
		/// <para>Input: NewMoTaKhoa,Khoa_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMoTaKhoa(string NewMoTaKhoa,int Khoa_ID);
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: KhoaEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Delete(KhoaEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: Khoa_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByID(int Khoa_ID);
		#endregion

		#region Select,delete by Khoa_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END KhoaWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

